package com.cungmua.app.model;

import android.widget.EditText;

/**
 * Created by kelvin.nguyen on 6/17/14.
 */
public class DrawerParent {
    private String textCenter;

    public String getTextBadge() {
        return textBadge;
    }

    public void setTextBadge(String textBadge) {
        this.textBadge = textBadge;
    }

    private EditText search;
    private String textBadge;
    private int iconLeft;
    private boolean isSelected;
    private boolean isHeader;
    private boolean isExpandable;
    private Object data;

    public DrawerParent(String textCenter, String textBadge, int iconLeft,
                        boolean isSelected, boolean isHeader, boolean isExpandable) {
        super();
        this.textCenter = textCenter;
        this.textBadge = textBadge;
        this.iconLeft = iconLeft;
        this.isSelected = isSelected;
        this.isHeader = isHeader;
        this.setExpandable(isExpandable);
    }
    public DrawerParent(EditText search, String textBadge, int iconLeft,
                        boolean isSelected, boolean isHeader, boolean isExpandable) {
        super();
        this.search = search;
        this.textBadge = textBadge;
        this.iconLeft = iconLeft;
        this.isSelected = isSelected;
        this.isHeader = isHeader;
        this.setExpandable(isExpandable);
    }

    public String getTextCenter() {
        return textCenter;
    }

    public void setTextCenter(String textCenter) {
        this.textCenter = textCenter;
    }

    public String getTextRight() {
        return textBadge;
    }

    public void setTextRight(String textRight) {
        this.textBadge = textRight;
    }

    public int getIconLeft() {
        return iconLeft;
    }

    public void setIconLeft(int iconLeft) {
        this.iconLeft = iconLeft;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }

    public boolean isHeader() {
        return isHeader;
    }

    public void setHeader(boolean isHeader) {
        this.isHeader = isHeader;
    }

    public boolean isExpandable() {
        return isExpandable;
    }

    public void setExpandable(boolean isExpandable) {
        this.isExpandable = isExpandable;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Object getData() {
        return data;
    }
}
